package com.ssy.lingxi.member.merchant.api.model.vo.paas;

import com.ssy.lingxi.member.merchant.api.handler.annotation.EnableDisableStatusAnno;
import com.ssy.lingxi.member.merchant.api.handler.annotation.MemberLevelTypeAnno;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;

/**
 * 修改基础等级配置状态接口参数VO
 * @author 万宁
 * @version 2.0.0
 * @date 2020-08-23
 */
public class BaseLevelConfigStatusVO implements Serializable {
    private static final long serialVersionUID = 1406282072914067433L;

    /**
     * 会员等级
     */
    @NotNull(message = "等级要大于0")
    @Positive(message = "等级要大于0")
    private Integer level;

    /**
     * 角色Id
     */
    @NotNull(message = "角色Id要大于0")
    @Positive(message = "角色Id要大于0")
    private Long roleId;

    /**
     * 会员等级类型枚举，定义在MemberLevelTypeEnum
     */
    @MemberLevelTypeAnno
    private Integer memberLevelTypeEnum;

    /**
     * 状态
     */
    @EnableDisableStatusAnno
    private Integer status;

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public Integer getMemberLevelTypeEnum() {
        return memberLevelTypeEnum;
    }

    public void setMemberLevelTypeEnum(Integer memberLevelTypeEnum) {
        this.memberLevelTypeEnum = memberLevelTypeEnum;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
